/**Class represents a Professor.
 * 
 * @author Kurt Micheli
 * @author Gabriel Rauter
 * @author Max Mulatz
 */
public class Professor extends Person {
	
	private String svn = "";
	
	/**Creates an Professor.
	 * 
	 * @param svn the svn form the Professor.
	 * @param name The name of the Professor.
	 * @param surname The surname of the Professor.
	 */
	public Professor(String svn,String name, String surname) {
		super(name,surname);
		this.svn = svn;
	}
	
	/**Returns all inforamtion form a Professor.
	 * 
	 * @return String All information well formatted.
	 */
	public String toString() {
		return this.svn+" Prof. "+super.getName()+" "+super.getSurName();
	}
	
}
